package cc.yaomm.common.basic.domain;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>@Description : 键值对</p>
 * <p>@Author : QiLin.Xing </p>
 * <p>@Date : 2018/3/22 16:16 </p>
 */
@Getter
@Setter
public class KeyValue<K, V> implements Serializable {

    private K key;

    private V value;

    public KeyValue() {
    }

    public KeyValue(K key, V value) {
        this.key = key;
        this.value = value;
    }
}
